package com.jingdong.repository;


import com.jingdong.pojo.BaoGaoDetail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

/**
 * @author Zqm
 */
public interface BaoGaoDetailRepository extends JpaRepository<BaoGaoDetail,String> ,JpaSpecificationExecutor<BaoGaoDetail> {

    /*@Query(value = "select id,title,url,time from baogao  where title like %?1% " ,nativeQuery=true)
    BaoGaoDetail findBaoGaoDetailByTitleLike(@Param("title") String title, Pageable pageable) throws  Exception;*/
}
